/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package miage.sessions.persistant;

import java.rmi.RemoteException;
import java.util.List;
import javax.ejb.FinderException;
import javax.ejb.Local;
import miage.beans.MagasinPresentation;
import miage.entities.Magasin;

/**
 *
 * @author Pepito
 */
@Local
public interface AccountProductStoreFacadeLocal {

    public List<Magasin> getAllMagasins()throws FinderException, RemoteException ;
    public miage.entities.Magasin getMagasin(java.lang.String reference_magasin)throws FinderException, RemoteException ;

    public void addMagasin(miage.beans.MagasinPresentation magasin)throws FinderException, RemoteException ;

    public void updateMagasin(miage.beans.MagasinPresentation magasin)throws FinderException, RemoteException ;

    public void deleteMagasin(String reference_magasin)throws FinderException, RemoteException ;

}
